//面包屑
const path = ['仓库管理', '物料拆解', {
	label: '物料拆解列表',
	name: 'goodsSplitList'
}, '新增'];
//表头—— 拆解商品
const tableHeaderData = [
	{
		prop:'location',
		label:'仓库',
		width:''
	},
	{
		prop:'barCode',
		label:'条码',
		width:''
	},
	{
		prop:'materialCode',
		label:'商品编码',
		width:''
	},
	{
		prop:'commodityType',
		label:'商品类型',
		width:''
    },
    {
		prop:'categoryName',
		label:'品类',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:''
	},
	{
		prop:'number',
		label:'数量',
		width:''
	},
	{
		prop:'unit',
		label:'单位',
		width:''
	},
	{
		prop:'theWeightOfBareStone',
		label:'克拉重',
		width:''
	},
	{
		prop:'netGoldWeight',
		label:'净金重',
		width:''
	},
	{
		prop:'theTotalWeightOfTheProduct',
		label:'产品总重',
		width:''
	}
]
//表头二 拆解组件
const tableHeaderData_two = [
	{
		prop:'indexNumber',
		label:'序号',
		width:''
	},
	{
		prop:'theOldBatch',
		label:'拆解成品条码',
		width:''
	},
	{
		prop:'barCode',
		label:'条码',
		width:''
	},
	{
		prop:'location',
		label:'仓库',
		width:''
	},
	{
		prop:'afterSalesOrder',
		label:'售后订单',
		width:''
    },
    {
		prop:'ccc',
		label:'商品类型',
		width:''
	},
	{
		prop:'materialCode',
		label:'商品编码',
		width:''
	},
	{
		prop:'categoryName',
		label:'品类',
		width:''
	},
	{
		prop:'description',
		label:'描述',
		width:''
	},
	{
		prop:'number',
		label:'数量',
		width:''
	},
	{
		prop:'unit',
		label:'单位',
		width:''
	},
	{
		prop:'theWeightOfBareStone',
		label:'克拉重',
		width:''
	},
	{
		prop:'productGoldWeight',
		label:'净金重',
		width:''
	},
	{
		prop:'theTotalWeightOfTheProduct',
		label:'产品总重',
		width:''
	},
	{
		prop:'productTotalWeight',//*
		label:'钻石是否可用',
		width:''
	}
]
let Model = {
	data() {
		return {
			Model: {
				queryData: undefined,
				path,
				tableHeaderData,
				tableHeaderData_two,
				tableDataOut:[],
				tableDataOut_two:[],
				splitTypeOption:[
					
				],
				importFileDialog:false,
				fileupName:'',
				importType:1, //导入类型 1导入商品 2导入拆解物料
				dismantlingReasons:'',
				remark:'',
				outgoingWarehouse:'',
				warehouse:'',
				outgoingWarehouseList:[],
				warehouseList:[],
				inputBarcode:'',
				splitType:''
			}
		}
	}
}
export default Model;
